﻿using PPI.Client.Entities;

namespace PPIControls.ReportFilters
{
    public class ReportFilterCreator
    {
        public static ReportFilterBaseControl GetFilterControl(ReportsEnum typeReport)
        {
            ReportFilterBaseControl controlReport = null;
            switch(typeReport)
            {
                case ReportsEnum.AssetDescription:
                    controlReport = new reportFilterAssetSummary();
                    break;
                case ReportsEnum.InspectionTypeByWeekInspector:
                    controlReport = new reportFilterInspectionType();
                    break;
                case ReportsEnum.ProjectSummary:
                    controlReport = new reportFilterInspectionType();
                    break;
            }
            return controlReport;
        }
    }
}
